#include<iostream>
#include<time.h>

int main()
{
    srand(time(nullptr));
    int a;
    
    a = rand() % 41 + 1;
    std::cout<<a<<std::endl;
    
    return 0;
}